package com.youu.youu.manager.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.youu.youu.manager.bean.TRole;
import com.youu.youu.manager.dao.TRoleMapper;
import com.youu.youu.manager.service.RolesBackstageService;
@Service
public class RolesBackstageServiceImpl implements RolesBackstageService {
	@Autowired
	TRoleMapper tRoleMapper;
	@Override
	public List<TRole> getAllRoles() {
		List<TRole> list = tRoleMapper.select(null);
		return list;
	}

}
